package com.hry.store.service;

import com.hry.store.pojo.Shipping;

import java.util.List;

public interface ShippingService {

    int updateShipping(Shipping shipping);


    List<Shipping> findShippingByEmail(String userEmail);

    int addNewAddress(String userEmail, String receiverName, Long receiverPhone, Integer receiverProvince, Integer receiverCity, String receiverAddress, Integer receiverDistract);

    Shipping getDetailByShippingId(Integer shippingId);

    int deleteByShippingId(Integer shippingId);

}
